From: Florian Müllner Date: Sun, 8 Mar 2020 21:38:47 +0000 (+0100) Subject: extensionPrefs: Make app D-Bus-activatable X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~751^2^2~118 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=96e534796fb681ba07bec68bf5694b5aaf6bbd75;p=gnome-shell.git extensionPrefs: Make app D-Bus-activatable This is the preferred way of launching applications nowadays. https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1081 --- diff --git a/js/extensionPrefs/data/meson.build b/js/extensionPrefs/data/meson.build index 1a4b77ed8..c805ab62e 100644 --- a/js/extensionPrefs/data/meson.build +++ b/js/extensionPrefs/data/meson.build @@ -26,5 +26,13 @@ i18n.merge_file('desktop', type: 'desktop' ) +configure_file( + input: app_id + '.service.in', + output: app_id + '.service', + configuration: desktopconf, + install: true, + install_dir: servicedir, +) + subdir('icons') subdir('metainfo') diff --git a/js/extensionPrefs/data/org.gnome.Extensions.desktop.in.in b/js/extensionPrefs/data/org.gnome.Extensions.desktop.in.in index 2806c795e..cd22f6adf 100644 --- a/js/extensionPrefs/data/org.gnome.Extensions.desktop.in.in +++ b/js/extensionPrefs/data/org.gnome.Extensions.desktop.in.in @@ -5,5 +5,6 @@ Name=Extensions Icon=@app_id@ Comment=Configure GNOME Shell Extensions Exec=@bindir@/@prgname@ %u +DBusActivatable=true Categories=GNOME;GTK; OnlyShowIn=GNOME; diff --git a/js/extensionPrefs/data/org.gnome.Extensions.service.in b/js/extensionPrefs/data/org.gnome.Extensions.service.in new file mode 100644 index 000000000..2150999ca --- /dev/null +++ b/js/extensionPrefs/data/org.gnome.Extensions.service.in @@ -0,0 +1,3 @@ +[D-BUS Service] +Name=@app_id@ +Exec=@bindir@/@prgname@